package com.beidouapp.dao;

import java.util.List;
import java.util.Map;

import com.beidouapp.domain.pojo.Organization;
import com.beidouapp.domain.pojo.OrganizationExtend;
import com.beidouapp.domain.pojo.Role;

public interface OrganizationDao extends BaseDao<Organization> {
    /**
     * 分页查询组织机构
     *
     * @param params
     * @param offset
     * @param limit
     * @return
     */
    public List<Organization> findAllChildOrgWithPageByMap(Map<String, Object> params, Integer offset, Integer limit);

    public long findAllChildOrgCountWithPageByMap(Map<String, Object> sMap);

    public Integer removeOrganizationBatch(Map<String, Object> params);

}
